package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.system.domain.Cart;
import com.ruoyi.system.domain.Product;
import com.ruoyi.system.domain.RechargeRecord;
import com.ruoyi.system.domain.vo.ClientRechargeRecordListResVo;
import com.ruoyi.system.domain.vo.ClientRechargeRecordListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 购物车Mapper接口
 *
 * @author ruoyi
 * @date 2022-05-03
 */
public interface RechargeRecordMapper extends BaseMapper<RechargeRecord> {

    List<RechargeRecord> getByPaymentRecordId(Long id);

    IPage<ClientRechargeRecordListResVo> clientRechargeRecordList(@Param("page") Page<ClientRechargeRecordListResVo> page,@Param("vo") ClientRechargeRecordListVo clientRechargeRecordListVo);
}
